package com.junzhiit.nengji.shop.bo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.bainaeco.framework.base.BaseObject;
import com.bainaeco.framework.util.DateUtil;
import com.bainaeco.framework.util.serializer.CustomDateSerializer;
import com.bainaeco.framework.util.serializer.CustomDateSerializerHMS;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class UserBO extends BaseObject{
	
	private static final long serialVersionUID = 1992104223512301740L;
	
	private String id;
	
	private String code;
	
	private String fullCode;
	
	private String parentId;
	
	private String parentName;
	
	private String parentPhone;

	private String openId;
	
	private String nickName;
	
	private String name;
	
	private String identity;
	
	private String email;
	
	private String mobilePhone;
	
	private Integer sex;
	
	private String headImgUrl;
	
	private Integer language;
	
	private String city;
	
	private String province;
	
	private String country;
	
	private Integer subscribe;

	private Date subscribeTime;
	
	private Integer status;
	
	private Integer level;
	
	private Double currentMoney;
    
    private Double pileMoney;
	
	private Integer currentIntegral;
	
	private Integer pileIntegral;
	
	private String qrCode;
	
	private String date;
	
	private String time;
	
	@DateTimeFormat(pattern = DateUtil.DATE_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializerHMS.class)
	private Date createdTime; 
	
	@DateTimeFormat(pattern = DateUtil.DATE_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializerHMS.class)
	private Date expireDate;
	
	@DateTimeFormat(pattern = DateUtil.DATE_PATTERN_DEFAULT)
	private Date startDate;
	
	@DateTimeFormat(pattern = DateUtil.DATE_PATTERN_DEFAULT)
	private Date endDate;
	
	private String userMobilePhone;
	
	//充值金额
	private Double rechargeAmount;
	
	//赠送金额
	private Double givingMoney;
	
	private Double withdrawalMoney;
	
	private String password;
	
	private String avatarUrl;
	
	@DateTimeFormat(pattern = DateUtil.DATE_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializer.class)
	private Date birthday;
	
	private Integer isShop;
	
	private Integer couponsCount;
	
	private Double legeIntegral;
	
	private Double pileLegeIntegral;
	
	private Double pileSellMoney;
	
	private Double pileIncomeMoney;
	
	private Double pileRebateMoney;
	
	private Integer vipIdentity;
	
	private Double sellMoney;
	
	private Double incomeMoney;
	
	private Double rebateMoney;
	
	private Double withDrawalMoney;
	
	private Integer isMemberSell;
	
	private Integer queryType;
	
	private Integer membership;
	
	private Integer vipStatus;
	
	private Integer firstChildrenCount;
	
	private Integer secondChildrenCount;
	
	private Integer levelSearch;
	
	private String vipId;

	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getFullCode() {
		return fullCode;
	}

	public void setFullCode(String fullCode) {
		this.fullCode = fullCode;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getHeadImgUrl() {
		return headImgUrl;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	public Integer getLanguage() {
		return language;
	}

	public void setLanguage(Integer language) {
		this.language = language;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public Integer getSubscribe() {
		return subscribe;
	}

	public void setSubscribe(Integer subscribe) {
		this.subscribe = subscribe;
	}

	public Date getSubscribeTime() {
		return subscribeTime;
	}

	public void setSubscribeTime(Date subscribeTime) {
		this.subscribeTime = subscribeTime;
	}

	public Double getCurrentMoney() {
		return currentMoney;
	}

	public void setCurrentMoney(Double currentMoney) {
		this.currentMoney = currentMoney;
	}

	public Double getPileMoney() {
		return pileMoney;
	}

	public void setPileMoney(Double pileMoney) {
		this.pileMoney = pileMoney;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getCurrentIntegral() {
		return currentIntegral;
	}

	public void setCurrentIntegral(Integer currentIntegral) {
		this.currentIntegral = currentIntegral;
	}

	public Integer getPileIntegral() {
		return pileIntegral;
	}

	public void setPileIntegral(Integer pileIntegral) {
		this.pileIntegral = pileIntegral;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getQrCode() {
		return qrCode;
	}

	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}

	public Date getExpireDate() {
		return expireDate;
	}

	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public String getParentPhone() {
		return parentPhone;
	}

	public void setParentPhone(String parentPhone) {
		this.parentPhone = parentPhone;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getUserMobilePhone() {
		return userMobilePhone;
	}

	public void setUserMobilePhone(String userMobilePhone) {
		this.userMobilePhone = userMobilePhone;
	}

	public Double getRechargeAmount() {
		return rechargeAmount;
	}

	public void setRechargeAmount(Double rechargeAmount) {
		this.rechargeAmount = rechargeAmount;
	}

	public Double getGivingMoney() {
		return givingMoney;
	}

	public void setGivingMoney(Double givingMoney) {
		this.givingMoney = givingMoney;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getIsShop() {
		return isShop;
	}

	public void setIsShop(Integer isShop) {
		this.isShop = isShop;
	}

	public Integer getCouponsCount() {
		return couponsCount;
	}

	public void setCouponsCount(Integer couponsCount) {
		this.couponsCount = couponsCount;
	}

	public Double getWithdrawalMoney() {
		return withdrawalMoney;
	}

	public void setWithdrawalMoney(Double withdrawalMoney) {
		this.withdrawalMoney = withdrawalMoney;
	}

	public Double getPileRebateMoney() {
		return pileRebateMoney;
	}

	public void setPileRebateMoney(Double pileRebateMoney) {
		this.pileRebateMoney = pileRebateMoney;
	}

	public Double getPileIncomeMoney() {
		return pileIncomeMoney;
	}

	public void setPileIncomeMoney(Double pileIncomeMoney) {
		this.pileIncomeMoney = pileIncomeMoney;
	}

	public Double getPileSellMoney() {
		return pileSellMoney;
	}

	public void setPileSellMoney(Double pileSellMoney) {
		this.pileSellMoney = pileSellMoney;
	}

	public Double getLegeIntegral() {
		return legeIntegral;
	}

	public void setLegeIntegral(Double legeIntegral) {
		this.legeIntegral = legeIntegral;
	}

	public Double getPileLegeIntegral() {
		return pileLegeIntegral;
	}

	public void setPileLegeIntegral(Double pileLegeIntegral) {
		this.pileLegeIntegral = pileLegeIntegral;
	}

	public Integer getVipIdentity() {
		return vipIdentity;
	}

	public void setVipIdentity(Integer vipIdentity) {
		this.vipIdentity = vipIdentity;
	}

	public Double getSellMoney() {
		return sellMoney;
	}

	public void setSellMoney(Double sellMoney) {
		this.sellMoney = sellMoney;
	}

	public Double getIncomeMoney() {
		return incomeMoney;
	}

	public void setIncomeMoney(Double incomeMoney) {
		this.incomeMoney = incomeMoney;
	}

	public Double getRebateMoney() {
		return rebateMoney;
	}

	public void setRebateMoney(Double rebateMoney) {
		this.rebateMoney = rebateMoney;
	}

	public Double getWithDrawalMoney() {
		return withDrawalMoney;
	}

	public void setWithDrawalMoney(Double withDrawalMoney) {
		this.withDrawalMoney = withDrawalMoney;
	}

	public Integer getIsMemberSell() {
		return isMemberSell;
	}

	public void setIsMemberSell(Integer isMemberSell) {
		this.isMemberSell = isMemberSell;
	}

	public Integer getQueryType() {
		return queryType;
	}

	public void setQueryType(Integer queryType) {
		this.queryType = queryType;
	}

	public Integer getMembership() {
		return membership;
	}

	public void setMembership(Integer membership) {
		this.membership = membership;
	}

	public Integer getVipStatus() {
		return vipStatus;
	}

	public void setVipStatus(Integer vipStatus) {
		this.vipStatus = vipStatus;
	}

	public Integer getFirstChildrenCount() {
		return firstChildrenCount;
	}

	public void setFirstChildrenCount(Integer firstChildrenCount) {
		this.firstChildrenCount = firstChildrenCount;
	}

	public Integer getSecondChildrenCount() {
		return secondChildrenCount;
	}

	public void setSecondChildrenCount(Integer secondChildrenCount) {
		this.secondChildrenCount = secondChildrenCount;
	}

	public Integer getLevelSearch() {
		return levelSearch;
	}

	public void setLevelSearch(Integer levelSearch) {
		this.levelSearch = levelSearch;
	}

	public String getVipId() {
		return vipId;
	}

	public void setVipId(String vipId) {
		this.vipId = vipId;
	}
	
}
